<?php
class ModelAccountWxShare extends Model {
	public function add($data) {
		$this->db->query("INSERT INTO " . DB_PREFIX . "wx_share SET link = '" . $this->db->escape($data['link']) . "',date_added = now() ");

		$wx_share_id = $this->db->getLastId();

		return $wx_share_id;
	}

}